xen.git
19 years ago[XEN] Define -fvisibility=hidden in CFLAGS to reduce -fpic cost
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Sep 2006 12:52:03 +0000 (13:52 +0100)]
[XEN] Define -fvisibility=hidden in CFLAGS to reduce -fpic cost
when compiling for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 12 Sep 2006 17:43:22 +0000 (11:43 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] swiotlb clash fix
awilliam@xenbuild.aw [Tue, 12 Sep 2006 17:42:27 +0000 (11:42 -0600)]
[IA64] swiotlb clash fix

Do not define dma_supported to platform_dma_supported when building
the Xen kernel. This happend to work for DIG builds because the
swiotlb.c version of dma_supported compiles to identical code as
arch/i386/kernel/pci-dma-xen.c so the linker didn't complain.

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] machvec cleanups
awilliam@xenbuild.aw [Tue, 12 Sep 2006 17:36:39 +0000 (11:36 -0600)]
[IA64] machvec cleanups

Move the DIG specific platform_dma_foo defines to where they belong.

Signed-off-by: Jes Sorensen <jes@sgi.com>
19 years ago[IA64] Add xen boot option "dom0_vcpus_pin"
awilliam@xenbuild.aw [Tue, 12 Sep 2006 17:29:02 +0000 (11:29 -0600)]
[IA64] Add xen boot option "dom0_vcpus_pin"

This patch adds the xen boot option to pin Domain-0 VCPUs.

Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[XEND] Return an Internal Server Error via the Xend HTTP server.
atse@norwich.uk.xensource.com [Tue, 12 Sep 2006 15:33:33 +0000 (16:33 +0100)]
[XEND] Return an Internal Server Error via the Xend HTTP server.

This allows domain creation failures can be detected when done via HTTP.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoThis patch fixes return codes for the acm-related Xen management scripts
Steven Hand [Tue, 12 Sep 2006 10:09:22 +0000 (11:09 +0100)]
This patch fixes return codes for the acm-related Xen management scripts
(error conditions) and addresses minor issues that 'pycheck' complains
about. It is tested with xm-test and by manually running the xm
commands. It also handles the return case (reported by Masaki Kanno)
that was missed in the originally patch.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>

19 years ago[XEN] Revert changeset 11438. Needs fixing for PAE.
kaf24@firebug.cl.cam.ac.uk [Mon, 11 Sep 2006 00:55:03 +0000 (01:55 +0100)]
[XEN] Revert changeset 11438. Needs fixing for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64][XEND] Fix getRequiredShadowMemory parameters
awilliam@xenbuild.aw [Sun, 10 Sep 2006 21:34:14 +0000 (15:34 -0600)]
[IA64][XEND] Fix getRequiredShadowMemory parameters

Parameter count changed in xen-unstable.hg 11417:65a41e3206ac

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Sun, 10 Sep 2006 20:52:57 +0000 (14:52 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] Add VTI related perfc
awilliam@xenbuild.aw [Sun, 10 Sep 2006 20:31:54 +0000 (14:31 -0600)]
[IA64] Add VTI related perfc

This patch intends to add VTI-related and fw_hypercall counters.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
19 years ago[IA64] Cleanup for PV-on-HVM for IPF
awilliam@xenbuild.aw [Sun, 10 Sep 2006 20:26:27 +0000 (14:26 -0600)]
[IA64] Cleanup for PV-on-HVM for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[LINUX] Move .bss declaration after .data.* in x86_64 linker script.
Ian Campbell [Sat, 9 Sep 2006 19:48:16 +0000 (20:48 +0100)]
[LINUX] Move .bss declaration after .data.* in x86_64 linker script.

Older binutils (prior to 2.16) have a problem with the linker script resulting
from the change introducing explicit segment maps. Namely does the
respective linker not properly handle @nobits sections (i.e. .bss) sitting
between @progbits ones (i.e. .data.*). The .bss section must therefore
be moved past all initialized sections (as is already the case on i386).
Replacement patch attached.

From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Remove backpointer info from page type info. No longer used.
kfraser@ubuntu.eng.hq.xensource.com [Fri, 8 Sep 2006 23:45:39 +0000 (16:45 -0700)]
[XEN] Remove backpointer info from page type info. No longer used.
Replace with a flag for PAE final L2, needed for detecting PAE L2's
which contain Xen mappings.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoBuild fix.
kfraser@ubuntu.eng.hq.xensource.com [Fri, 8 Sep 2006 22:46:54 +0000 (15:46 -0700)]
Build fix.

19 years ago[LINUX] console: ensure virtual console is disabled if mfn/evtchn
kfraser@ubuntu.eng.hq.xensource.com [Fri, 8 Sep 2006 21:49:00 +0000 (14:49 -0700)]
[LINUX] console: ensure virtual console is disabled if mfn/evtchn
not provided.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] pv drivers: Allocate hypercall area as an executable region.
kaf24@firebug.cl.cam.ac.uk [Fri, 8 Sep 2006 18:15:11 +0000 (19:15 +0100)]
[HVM] pv drivers: Allocate hypercall area as an executable region.
We have to use __vmalloc() and __PAGE_KERNEL because vmalloc_exec()
and PAGE_KERNEL_EXEC are not exported to modules.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEND] balloon enough memory to enable shadow mode before live migration.a
Tim Deegan [Fri, 8 Sep 2006 17:55:53 +0000 (18:55 +0100)]
[XEND] balloon enough memory to enable shadow mode before live migration.a
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] gnttab: Initialise maptrack->flags
ssmith@weybridge.uk.xensource.com [Wed, 6 Sep 2006 12:16:02 +0000 (13:16 +0100)]
[XEN] gnttab: Initialise maptrack->flags

__gnttab_unmap_grant_ref verifies the validity of the handle by
checking it against maptrack_limit and making sure that the flags
field at the given handle is non-zero.

This means that the flags of an unused handle should be zero in
order to prevent unused handles from getting past this check.

However, we don't seem to set it to zero to begin with when we
allocate the maptrack table.  This could potentially lead to the
corruption of the other domain's internal state, and/or the hypervisor's
internal state.

This patch makes sure that it is zeroed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[BLKTAP] Fix in xend to properly destroy blktap devices when deviceClass=='tap'
jchesterfield@dhcp92.uk.xensource.com [Wed, 6 Sep 2006 10:42:29 +0000 (11:42 +0100)]
[BLKTAP] Fix in xend to properly destroy blktap devices when deviceClass=='tap'
Submitted by Andres Lagar Cavilla

19 years ago[XEN] gnttab: Read domid/flags atomically.
kfraser@ubuntu.eng.hq.xensource.com [Wed, 6 Sep 2006 01:36:23 +0000 (18:36 -0700)]
[XEN] gnttab: Read domid/flags atomically.

This more neatly matches how the two adjacent fields in
the grant-table entry are accessed by the cmpxchg()
function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[XEN] Fix bitops inline asm to specify that memory is clobbered.
kfraser@ubuntu.eng.hq.xensource.com [Wed, 6 Sep 2006 01:28:27 +0000 (18:28 -0700)]
[XEN] Fix bitops inline asm to specify that memory is clobbered.
Necessary because the modified word may not be the one directly
addressed by the memory parameter (since the parameter actually
points at an array, not a scalar value).

The change to set_bit/__set_bit is reported to fix an issue
on x460 hardware, as reported (and this fix suggested) by
Ryan Harper <ryanh@us.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Clean up grant-table pinning logic.
kfraser@ubuntu.eng.hq.xensource.com [Tue, 5 Sep 2006 19:20:31 +0000 (12:20 -0700)]
[XEN] Clean up grant-table pinning logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix xm create -F. This can't be very widely used, because it looks like it's
Ewan Mellor [Tue, 5 Sep 2006 16:26:20 +0000 (17:26 +0100)]
Fix xm create -F.  This can't be very widely used, because it looks like it's
been broken for ages!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded vmunused flag to unit test results to match recent change.
Ewan Mellor [Tue, 5 Sep 2006 16:26:18 +0000 (17:26 +0100)]
Added vmunused flag to unit test results to match recent change.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdd missing import.
Ewan Mellor [Tue, 5 Sep 2006 16:26:17 +0000 (17:26 +0100)]
Add missing import.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoThis patch adds the argument check of "--ms_per_sample=" option. For
Ewan Mellor [Tue, 5 Sep 2006 16:06:02 +0000 (17:06 +0100)]
This patch adds the argument check of "--ms_per_sample=" option. For
"--ms_per_sample=", a negative value should be invalid.

e.g.
% xenmon.py -n --ms_per_sample=-1
usage: xenmon.py [options]

xenmon.py: error: option --ms_per_sample: invalid negative value: '-1'

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
19 years agoThis patch improves error message of xm console command.
Ewan Mellor [Tue, 5 Sep 2006 16:06:01 +0000 (17:06 +0100)]
This patch improves error message of xm console command.

# xm console Domain-0
Can't specify Domain-0

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoThis patch intends for updating "man xm" about xm info description.
Ewan Mellor [Tue, 5 Sep 2006 15:48:21 +0000 (16:48 +0100)]
This patch intends for updating "man xm" about xm info description.
For example item:system is removed from xm info.

Signed-off-by: shaocyou <shaocyou@jp.fujitsu.com>
19 years agoFix inverted sense of getRequiredAvailableMemory and
Ewan Mellor [Tue, 5 Sep 2006 15:23:11 +0000 (16:23 +0100)]
Fix inverted sense of getRequiredAvailableMemory and
getRequiredInitialReservation on x86 HVM.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[blktap] Fix block device getsize bug in qcow when backing_filename is a block device.
jchesterfield@dhcp92.uk.xensource.com [Tue, 5 Sep 2006 14:35:42 +0000 (15:35 +0100)]
[blktap] Fix block device getsize bug in qcow when backing_filename is a block device.

19 years agoMerge.
ssmith@weybridge.uk.xensource.com [Tue, 5 Sep 2006 13:28:19 +0000 (14:28 +0100)]
Merge.

19 years ago[XEN] Add more checking when reusing an active grant reference.
ssmith@weybridge.uk.xensource.com [Tue, 5 Sep 2006 13:27:05 +0000 (14:27 +0100)]
[XEN] Add more checking when reusing an active grant reference.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Based-on-a-patch-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years agoFix the memory reservation calculations. Introduce a new architecture-specific
Ewan Mellor [Tue, 5 Sep 2006 13:17:50 +0000 (14:17 +0100)]
Fix the memory reservation calculations.  Introduce a new architecture-specific
call to determine the initial reservation separately from the amount of
memory to be freed up by ballooning -- when using QEMU, we lose 8 MiB to video
RAM, which must be accounted for when ballooning, but _not_ accounted for
within the domain's memory allocation.

Tidy this code up using the new architecture-specific interface arrangement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoThe attached patch prevents a domain with an attached vTPM from doing
Ewan Mellor [Tue, 5 Sep 2006 13:17:49 +0000 (14:17 +0100)]
The attached patch prevents a domain with an attached vTPM from doing
local migration since this does not seem to work correctly (see tests in
xm test suite). If no vTPM has been attached, the local migration
proceeds as usual.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years agoFix spellcheck-avoiding typo: s/not/now.
Andrew Warfield [Tue, 5 Sep 2006 13:14:31 +0000 (06:14 -0700)]
Fix spellcheck-avoiding typo: s/not/now.
(Thanks Steven S. and Muli)

Signed-off-by: Andrew Warfield <andy@xensource.com>
19 years agoFix up cset 11228.
ssmith@weybridge.uk.xensource.com [Tue, 5 Sep 2006 12:57:30 +0000 (13:57 +0100)]
Fix up cset 11228.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years agoUpdate user manual to use blktap for file-based VBDs.
Andrew Warfield [Mon, 4 Sep 2006 20:54:36 +0000 (13:54 -0700)]
Update user manual to use blktap for file-based VBDs.

Signed-off-by: Andrew Warfield <andrew.warfield@xensource.com>
19 years ago[IA64] Bug fix: do not crash if no FPSWA.
awilliam@xenbuild.aw [Mon, 4 Sep 2006 20:48:03 +0000 (14:48 -0600)]
[IA64] Bug fix: do not crash if no FPSWA.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] hwclock support
awilliam@xenbuild.aw [Mon, 4 Sep 2006 20:45:20 +0000 (14:45 -0600)]
[IA64] hwclock support

This patch supports the hwclock on Domain-0.
It adds the following EFI runtime service emulations for the
hwclock support.
 1. SetTime
 2. Get/SetWakeupTime

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoAdd support for netif frontends which don't support checksum offload.
ssmith@weybridge.uk.xensource.com [Mon, 4 Sep 2006 15:38:24 +0000 (16:38 +0100)]
Add support for netif frontends which don't support checksum offload.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[XEN] Fix mapping of p2m into monitor tables for external-mode guests.
Tim Deegan [Sat, 2 Sep 2006 11:11:54 +0000 (12:11 +0100)]
[XEN] Fix mapping of p2m into monitor tables for external-mode guests.
The previous code could map frame zero into the P2M table on PAE hosts.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoTapdisk cleanup.
Andrew Warfield [Fri, 1 Sep 2006 20:24:51 +0000 (13:24 -0700)]
Tapdisk cleanup.

Sign-off-by: Jun Koi <junkoi2004@gmail.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Fri, 1 Sep 2006 19:04:02 +0000 (13:04 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] change arch_memory_op #def to a prototype
awilliam@xenbuild.aw [Fri, 1 Sep 2006 18:52:12 +0000 (12:52 -0600)]
[IA64] change arch_memory_op #def to a prototype

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] update buildconfigs
awilliam@xenbuild.aw [Fri, 1 Sep 2006 17:20:48 +0000 (11:20 -0600)]
[IA64] update buildconfigs

This fixes the sparse tree buildconfigs to allow xenU to build
automatically.  There's no need to force netdev front/back on from
the arch Kconfig file anymore.  Based on patch from Akio Takebe &
Yoshiro Fujita.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[LINUX] xenoprof: use alloc_vm_area instead of get_vm_area. The former
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Sep 2006 15:11:51 +0000 (16:11 +0100)]
[LINUX] xenoprof: use alloc_vm_area instead of get_vm_area. The former
is exported to modules.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Expand memory_op for PV-on-HVM on IPF
awilliam@xenbuild.aw [Fri, 1 Sep 2006 14:46:02 +0000 (08:46 -0600)]
[IA64] Expand memory_op for PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agoMore hvm common-code cleanups.
Steven Hand [Fri, 1 Sep 2006 12:52:04 +0000 (13:52 +0100)]
More hvm common-code cleanups.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix typo.
Steven Hand [Fri, 1 Sep 2006 11:16:21 +0000 (12:16 +0100)]
Fix typo.

With this patch, a checked build of Windows Server 2003 can be installed
and run on top of a VMX domain.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
19 years agoFix build w/ perfc after cset 11394:96a4379be74a
Steven Hand [Fri, 1 Sep 2006 11:07:39 +0000 (12:07 +0100)]
Fix build w/ perfc after cset 11394:96a4379be74a

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[XEN] Improve Xen information in register dumps.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Sep 2006 00:25:15 +0000 (01:25 +0100)]
[XEN] Improve Xen information in register dumps.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Include CR2 and CR4 in register dumps.
kaf24@firebug.cl.cam.ac.uk [Fri, 1 Sep 2006 00:07:45 +0000 (01:07 +0100)]
[XEN] Include CR2 and CR4 in register dumps.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XENBUS] Make frontend drivers shutdown cleanly.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 23:42:14 +0000 (00:42 +0100)]
[XENBUS] Make frontend drivers shutdown cleanly.

This patch makes frontend drivers being shutdown when devices_shutdown()
is called and walks down the device tree.  Most of it is handled by the
xenbus core, which got a new function for the bus->shutdown callback.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XENBUS] Introduce new "online" node for backend drivers.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 23:33:19 +0000 (00:33 +0100)]
[XENBUS] Introduce new "online" node for backend drivers.

Driver changes:  Make backend drivers check it when entering Closed
state, only unregister devices when the "online" node is either "0" or
not present.  The later maintains backward compatibility.

Tools changes:  Update "online" node when creating and hot-unplugging
devices.

Background: When kexec'ing a new kernel, the old kernel's frontend
driver will shutdown, but the backend device should *NOT* disappear
due to that, so the new kernel instance can reconnect.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agoAdd xenbus_strstate() helper function for more readable debug output.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 23:20:42 +0000 (00:20 +0100)]
Add xenbus_strstate() helper function for more readable debug output.

From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Add a mmio decode for 0F BA /4 for HVM guest.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 22:59:11 +0000 (23:59 +0100)]
[HVM] Add a mmio decode for 0F BA /4 for HVM guest.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
19 years ago[HVM][VMX] Add CR8 virtualization. Needed for x86/64 Windows boot.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 22:58:23 +0000 (23:58 +0100)]
[HVM][VMX] Add CR8 virtualization. Needed for x86/64 Windows boot.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
19 years ago[HVM][VMX] Report MCE/MCA features in CPUID.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 22:56:45 +0000 (23:56 +0100)]
[HVM][VMX] Report MCE/MCA features in CPUID.
Required for x86/64 Windows guest.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
19 years ago[HVM][SVM] Remove redundant do_softirq in the VMEXIT_INTR handler.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 22:47:04 +0000 (23:47 +0100)]
[HVM][SVM] Remove redundant do_softirq in the VMEXIT_INTR handler.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
19 years ago[XEN] Clean up BASE_DISALLOW_MASK and fix for x86/64.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 22:44:41 +0000 (23:44 +0100)]
[XEN] Clean up BASE_DISALLOW_MASK and fix for x86/64.
Original patch from Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Use vcpu_info pointer in vcpu structure.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 21:53:46 +0000 (22:53 +0100)]
[XEN] Use vcpu_info pointer in vcpu structure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] Remove unused IS_INVALID_M2P_ENTRY macro.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 21:29:23 +0000 (22:29 +0100)]
[XEN] Remove unused IS_INVALID_M2P_ENTRY macro.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] interfaces: Remove explicit alignment/padding from domctl/sysctl hypercalls.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 18:53:27 +0000 (19:53 +0100)]
[XEN] interfaces: Remove explicit alignment/padding from domctl/sysctl hypercalls.

Generation of 32-on-64 compat shims is being semi-automated for all
other hypercalls. It seems sensible to teat all hypercalls uniformly
and do the same for the control-stack management interfaces too.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 17:54:50 +0000 (18:54 +0100)]
[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Remove vm_map_xen_pages(), clean up __direct_remap_page_range.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 17:23:28 +0000 (18:23 +0100)]
[LINUX] Remove vm_map_xen_pages(), clean up __direct_remap_page_range.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix shadow linear-mapping recopy code for SMP PAE HVM on 64bit Xen.
tdeegan@york.uk.xensource.com [Thu, 31 Aug 2006 13:46:28 +0000 (14:46 +0100)]
[XEN] Fix shadow linear-mapping recopy code for SMP PAE HVM on 64bit Xen.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the build
Anil Madhavapeddy [Thu, 31 Aug 2006 11:07:46 +0000 (12:07 +0100)]
[MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the build

19 years ago[LINUX] /proc/iomem should not be initialised from pseudophysical e820 map.
kaf24@firebug.cl.cam.ac.uk [Thu, 31 Aug 2006 02:05:40 +0000 (03:05 +0100)]
[LINUX] /proc/iomem should not be initialised from pseudophysical e820 map.
This is because it should only contain real I/O memory address ranges,
otherwise we can get false conflicts between a real I/O range and a
'pseudophysical' RAM range, causing drivers to fail to work in a domU.
Also prevent kernel code/data being requested as iomem resources --
they are not contiguous in 'io memory' space so this would not make
sense.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xenppc-unstable-merge.hg.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 21:36:18 +0000 (22:36 +0100)]
Merge with xenppc-unstable-merge.hg.

19 years agoMerge with xen-ia64-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 20:38:34 +0000 (21:38 +0100)]
Merge with xen-ia64-unstable.hg

19 years ago[POWERPC] merge with xen-unstable.hg
Hollis Blanchard [Wed, 30 Aug 2006 19:09:31 +0000 (14:09 -0500)]
[POWERPC] merge with xen-unstable.hg

19 years ago[NET] front: move register_netdev() + sysfs attribute registering from create_netdev...
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 17:40:40 +0000 (18:40 +0100)]
[NET] front: move register_netdev() + sysfs attribute registering from create_netdev() into the new open_netdev() function.
open_netdev is called as very last thing in netdev_probe.

This closes at least one initialization race: uninitialized
mac address is visible for a short time in
/sys/class/net/${if}/address

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XEN] Add a start_pfn field in xen_domctl_getmemlist.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 17:19:04 +0000 (18:19 +0100)]
[XEN] Add a start_pfn field in xen_domctl_getmemlist.
This is used by ia64 because it directly reads the P2M table.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years agoRevert powerpc build break after dom0_ops split.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 17:08:19 +0000 (18:08 +0100)]
Revert powerpc build break after dom0_ops split.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN] Reserve hypercall number for kexec operations.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 17:03:55 +0000 (18:03 +0100)]
[XEN] Reserve hypercall number for kexec operations.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] physdev: Check for negative irqs in alloc_irq_vector.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 17:02:32 +0000 (18:02 +0100)]
[XEN] physdev: Check for negative irqs in alloc_irq_vector.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[LINUX][X86_64] P2M map must be allocated on page aligned boundary.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 16:56:49 +0000 (17:56 +0100)]
[LINUX][X86_64] P2M map must be allocated on page aligned boundary.
Otherwise save/restore can break.
Signed-off-by: Kazuo Moriwaka <moriwaka@valinux.co.jp>
19 years ago[TOOLS] Fix gdbserver build.
kaf24@firebug.cl.cam.ac.uk [Wed, 30 Aug 2006 16:52:35 +0000 (17:52 +0100)]
[TOOLS] Fix gdbserver build.
Signed-off-by: Travis Betak <travis.betak@amd.com>
19 years agoFix fix :-)
Steven Hand [Wed, 30 Aug 2006 12:51:12 +0000 (13:51 +0100)]
Fix fix :-)

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix hard tabs.
Steven Hand [Wed, 30 Aug 2006 12:50:08 +0000 (13:50 +0100)]
Fix hard tabs.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoBlock IO safety patch for live migration. Xend checks that VBDs are destroyed before...
jchesterfield@dhcp92.uk.xensource.com [Wed, 30 Aug 2006 10:39:27 +0000 (11:39 +0100)]
Block IO safety patch for live migration. Xend checks that VBDs are destroyed before unpausing the domain.

19 years agoFurther shadow_mem_control fixes -- we need to balloon the amount of memory
Ewan Mellor [Wed, 30 Aug 2006 10:05:00 +0000 (11:05 +0100)]
Further shadow_mem_control fixes -- we need to balloon the amount of memory
that we're going to request i.e. the rounded-up value.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoShadow memory should be in MiB, not KiB. It also needs rounding up to be safe.
Ewan Mellor [Wed, 30 Aug 2006 08:47:24 +0000 (09:47 +0100)]
Shadow memory should be in MiB, not KiB.  It also needs rounding up to be safe.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix reboot and reconfigure of HVM guests when they are configured with an
Ewan Mellor [Wed, 30 Aug 2006 01:53:48 +0000 (02:53 +0100)]
Fix reboot and reconfigure of HVM guests when they are configured with an
empty CD-ROM drive.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded an entry to arch._types for x86_64.
Ewan Mellor [Wed, 30 Aug 2006 00:20:01 +0000 (01:20 +0100)]
Added an entry to arch._types for x86_64.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix typo.
Andrew Warfield [Tue, 29 Aug 2006 23:31:57 +0000 (16:31 -0700)]
Fix typo.

Signed-off-by: <andy@xensource.com>
19 years agomerge
Andrew Warfield [Tue, 29 Aug 2006 22:58:57 +0000 (15:58 -0700)]
merge

19 years agoSmall blktap cleanups.
akw@devbox.site [Tue, 29 Aug 2006 22:55:24 +0000 (15:55 -0700)]
Small blktap cleanups.

Signed-off-by: Andrew Warfield <andy@xensource.com>
19 years ago[XEN][POWERPC] catch up with xen-unstable changes
Hollis Blanchard [Tue, 29 Aug 2006 22:53:57 +0000 (17:53 -0500)]
[XEN][POWERPC] catch up with xen-unstable changes
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEND] abstract architecture-specific bits in image.py
Ewan Mellor [Tue, 29 Aug 2006 22:20:22 +0000 (23:20 +0100)]
[XEND] abstract architecture-specific bits in image.py
- create arch.type (which evaluates to "x86", "ia64" or "powerpc")
- create subclasses for x86 and ia64 HVM loaders
- rework findImageHandlerClass()
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoThis patch fixed 'xm reboot' to work as you expected with the wait
Ewan Mellor [Tue, 29 Aug 2006 21:51:06 +0000 (22:51 +0100)]
This patch fixed 'xm reboot' to work as you expected with the wait
option. This patch adds a restart sequence counter to xenstore.
The completion of a VM reboot is detected by observing that
its restart sequence counter changes.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoImprove xm migrate error message by printing usage instead of "Invalid
Ewan Mellor [Tue, 29 Aug 2006 21:51:05 +0000 (22:51 +0100)]
Improve xm migrate error message by printing usage instead of "Invalid
arguments".

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoReduce AIO context allocations in blktap.
akw@devbox.site [Tue, 29 Aug 2006 21:34:57 +0000 (14:34 -0700)]
Reduce AIO context allocations in blktap.

Signed-off-by: Andrew Warfield <andy@xensource.com>
19 years ago[IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5
awilliam@xenbuild.aw [Tue, 29 Aug 2006 15:08:29 +0000 (09:08 -0600)]
[IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5

revert arch_domain_destory() for old PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] revert xen-ia64-unstable.hg 11271:c232365128cf
awilliam@xenbuild.aw [Tue, 29 Aug 2006 15:05:46 +0000 (09:05 -0600)]
[IA64] revert xen-ia64-unstable.hg 11271:c232365128cf

Delete functions introduced for old PV-on-HVM on IPF.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 29 Aug 2006 14:28:38 +0000 (08:28 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] init the hlt timer on a valid cpu and migrate
awilliam@xenbuild.aw [Tue, 29 Aug 2006 14:09:28 +0000 (08:09 -0600)]
[IA64] init the hlt timer on a valid cpu and migrate

Based on a patch from Anthony Xu, v->processor is not initialized
in alloc_vcpu_struct() when we initialize the hlt_timer.  Init the
timer on the first cpu and migrate it in schedule_tail().

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoFix definition of LINUX_VER so that doesn't pickup LINUX_VER3
Ian Campbell [Tue, 29 Aug 2006 11:23:11 +0000 (12:23 +0100)]
Fix definition of LINUX_VER so that doesn't pickup LINUX_VER3
from mk.linux-2.6-xen. This makes "make mkpatches" work again.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN][POWERPC] cleanup for (;;);
Jimi Xenidis [Tue, 29 Aug 2006 10:53:58 +0000 (06:53 -0400)]
[XEN][POWERPC] cleanup for (;;);

When the port first started, we didn't even have panic() working
properly so we used "for(;;);" loops to stop execution.  Now that output
is buffered these look like hangs, since you usually do not see the
printk() before.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>